PDF4Java Reference Documentation
com.o2sol.pdf4java.forms Package / PDFListField Class / getSelectedIndex Method
In This Topic
    getSelectedIndex Method
    In This Topic
    Gets the lowest ordinal index of the selected items in the list.
    Use this property to determine the index of the currently selected item in the list if the list control allows only one selection.
    Syntax
    public int getSelectedIndex()

    Return Value

    The lowest ordinal index of the selected items in the list. The default is -1, which indicates that nothing is selected.
    See Also